package jpf.nextsearch.resourceprovider;

import java.util.List;

import jpf.nextsearch.resourceprovider.handler.ResourceHandler;
import jpf.nextsearch.resourceprovider.model.Resource;

/**
 * @author <a href="mailto:jacek.pruszkowski@gmail.com">Jacek Pruszkowski</a>
 */
public interface ResourceProvider {

	public List<Resource> listResources() throws Exception;
	
	public void passResourcesToHandler(int max, ResourceHandler handler, Object params) throws Exception;
}
